package com.gxa.service.parking;



import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.gxa.dto.parking.PRegionDto;
import com.gxa.dto.parking.PRegionSearchDto;
import com.gxa.entity.parking.PRegion;
import com.gxa.entity.parking.Parking;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yjl
 * @since 2022-10-11 10:05:39
 */
public interface PRegionService  {

    PageInfo<PRegionDto> queryAll(PRegionSearchDto pRegionSearchDto , Integer pageNum, Integer pageSize);

    List<Parking> queryParking();
    //根据id查区域
    PRegion getById(Integer id);

    //增
    void add(PRegion pRegion);

    //删除
    void delete(Integer id);

    //改
    void update(PRegion pRegion);

}


